a=list(input().split(","))
s=0
for i in range(0,len(a)):
    s=s+float(a[i])
    b=s/len(a)
for i in range(0,len(a)):
    if float(a[i])>b:
        print(a[i],end=' ')
    